package com.fw.system.admin.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户答题情况对象 tb_user_result
 *
 * @author yanwei
 * @date 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user_result")
@ApiModel(value="用户答题情况", description="用户答题情况表")
public class TbUserResult implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
        @TableField("id")
    private String id;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
        @TableField("user_id")
    private String userId;

    /** 题目编号 */
    @ApiModelProperty(value = "${comment}")
            @Excel(name = "题目编号")
        @TableField("answer_id")
    private String answerId;

    /** 用户答案选项，多个逗号隔开 */
    @ApiModelProperty(value = "题目编号")
            @Excel(name = "用户答案选项，多个逗号隔开")
        @TableField("user_result")
    private String userResult;

    /** 创建时间 */
    @ApiModelProperty(value = "用户答案选项，多个逗号隔开")
        @TableField("create_time")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;




}
